home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2687 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  43 lines

  1. Path: mn5.swip.net!usenet
  2. From: patrik.nilsson@mbox3.swipnet.se (Patrik Nilsson)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Why so
  5. Date: 04 Feb 96 00:07:50 +0100
  6. Organization: -
  7. Message-ID: <886.6608T7T2534@mbox3.swipnet.se>
  8. NNTP-Posting-Host: dialup98-2-14.swipnet.se
  9. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  10.  
  11. void __saveds
  12. phrasestring( struct strippedurl *surl, char *urlname )
  13. {
  14. LONG itext,i;
  15. LONG length;
  16. LONG saveitext;
  17. LONG savesign;
  18.    
  19.    surl->type[0]=0;
  20.    surl->host[0]=0;
  21.    surl->pathfilename[0]=0;
  22.    
  23.    i=1;
  24. /*   printf("test1:%s\n", &urlname ); */
  25.    printf("test2:%d\n", *(urlname) );
  26.    printf("test3:%d\n", *(urlname+i) );
  27.    printf("test4:%d\n", *(urlname+i+1) );
  28.    
  29. ---
  30.  
  31. If "test 1" is exists, the results of test2,3 and 4 are different, than if
  32. the line "test1" not are there. Why?
  33.  
  34. ---
  35.                                     \|/
  36.                                     O O
  37. +-------------------------------oOO-(_)-OOo-------------------------------+
  38. | Patrik Nilsson, Malm÷, Sweden                                           |
  39. | PGP Key fingerprint =  27 33 52 2D B3 E6 7E D8  D6 C1 8F 1A 86 95 67 DC |
  40. +-------------------------------------------------------------------------+
  41.  
  42.  
  43.